<?php
/**
 * Created by PhpStorm.
 * User: hwy
 * Date: 2020/6/28
 * Time: 7:42
 */

return [
//    'stock_url' =>  'http://web.sqt.gtimg.cn/q=',
    'stock_url' =>  'http://qt.gtimg.cn/q=',

    'config_category_type'  =>  [
        '1' =>  '系统',
        '2' =>  '应用',
        '3' =>  '支付',
        '4' =>  '其他',
    ],

    'input_type'    =>  [
        'text'  =>  '文本框',
        'textarea'  =>  '多行文本框',
        'radio'  =>  '单选框',
        'upload'  =>  '文件上传',
        'checkbox'  =>  '多选框',
        'select'  =>  '下拉框',
    ],

    'text_box_type'    =>  [
        'input'  =>  '文本框',
        'dateTime'  =>  '时间',
        'color'  =>  '颜色',
        'number'  =>  '数字'
    ],

    'upload_box_type'    =>  [
        '1'  =>  '单图',
        '2'  =>  '多图',
        '3'  =>  '文件'
    ],

    'operation_log' => [

            'enable' => true,

            /*
             * Routes that will not log to database.
             *
             * All method to path like: admin/auth/logs
             * or specific method to path like: get:admin/auth/logs
             */
            'except' => [
                'admin/auth/logs*',
            ],
    ],

//    'nav' => [
//        ['title' => '首页','url' => route('index')],
//        ['title' => '文章','url' => route('article.index')],
//        ['title' => '关于我','url' => ''],
//        ['title' => '乱七八糟','url' => route('article_stock.index')],
//    ],
    'nav' => [
        ['title' => '首页','url' => '/home','mark' => 'home'],
        ['title' => 'PHP','url' => '/article/index?category=1','mark' => 'article_php'],
        ['title' => '前端','url' => '/article/index?category=2','mark' => 'article_html'],
        ['title' => '运维','url' => '/article/index?category=3','mark' => 'article_devops'],
        ['title' => '归档','url' => '/article/place_index','mark' => 'article'],
        ['title' => '资讯','url' => '/news/index','mark' => 'news'],
        ['title' => '九木','url' => '/article_stock/index','mark' => 'mixed'],
    ]
];
